package cn.com.open.opensaas.scoreservice.domain.OperateLogModel;

import cn.com.open.opensaas.scoreservice.util.AbstractDomain;

import java.util.Date;

/**
 * Created by liyun on 2017/4/12.
 */
public class OperateLog extends AbstractDomain {
	private String id;
	private String userId = "00000000-0000-0000-0000-000000000000";
	private String optUrl;
	private String area = "";
	private String controller;
	private String action;
	private String optType;
	private Date optTime;
	private String optIp;
	private String optDescription;
	
	public OperateLog () {}
	public OperateLog (String optUrl,String controller,String action,String optType,Date optTime,String optIp,String optDescription){
		this.optUrl = optUrl;
		this.controller = controller;
		this.action = action;
		this.optType = optType;
		this.optTime = optTime;
		this.optIp = optIp;
		this.optDescription = optDescription;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getOptUrl() {
		return optUrl;
	}
	public void setOptUrl(String optUrl) {
		this.optUrl = optUrl;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getController() {
		return controller;
	}
	public void setController(String controller) {
		this.controller = controller;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getOptType() {
		return optType;
	}
	public void setOptType(String optType) {
		this.optType = optType;
	}
	public Date getOptTime() {
		return optTime;
	}
	public void setOptTime(Date optTime) {
		this.optTime = optTime;
	}
	public String getOptIp() {
		return optIp;
	}
	public void setOptIp(String optIp) {
		this.optIp = optIp;
	}
	public String getOptDescription() {
		return optDescription;
	}
	public void setOptDescription(String optDescription) {
		this.optDescription = optDescription;
	}
	
}
